package com.bwie.service;

import com.bwie.service.impl.IUserServiceImpl;
import com.bwie.utils.R;
import com.bwie.vo.LoginInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Service
@FeignClient(value = "server-day0312-user",fallback = IUserServiceImpl.class)
public interface IUserService {

    @PostMapping("/user/index/login")
    public R login(@RequestBody LoginInfoVo loginInfoVo);
}
